package com.ruoyi.web.a2.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.web.a2.dto.A2TmpAndIaJson;
import com.ruoyi.web.a2.service.ITool2aHandleService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Api(tags = "目标动向预测和意图研判（免登录）")
@RestController
@RequestMapping("/webs/toolTrendPredictionIntention")
public class ToolController extends BaseController
{

    @Autowired
    private ITool2aHandleService tool2aHandleService;

    @ApiOperation("目标动向预测和意图研判")
    @PostMapping("/a2TmpAndIa")
    public AjaxResult a2TmpAndIa(@Validated @RequestBody final A2TmpAndIaJson json)
    {
        return AjaxResult.success(tool2aHandleService.a2TmpAndIa(json));
    }


}
